Repository navigation
Updater: trust the owner's release keys (#689) - #769
Merged
Merged
Conversation
…ic halves (#689) Red first: a test holding the two public keys as the owner's output printed them. The two tests that relied on no trusted key now check an impostor key named primary: refused, its signature doesn't check out. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWsrZ4EvHNNNTAe7RC1
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VCgWWsrZ4EvHNNNTAe7RC1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #689
The updater now trusts the owner's two release keys. These are the public halves only, copied from the owner's
firmware-release public-keyoutput:26739c2c075965fd9a99330f97c3b09a28d11f85c1fa4d81bd5495cb67c1a5f82e972a79fd40b287a151166dcdc723d07e84afe9ffc933fb211c670873c07cbeTests
theAppTrustsTheOwnersPrimaryAndBackupKeys. It holds both keys as printed, so a changed or dropped key fails..badSignature), and the offer says the signature doesn't check out and offers the built-in firmware.everyListedReleaseKeyIsAWellFormedPrimaryOrBackupKey) passes with the keys in.No key files were read or touched.
docs/FIRMWARE-RELEASE-SIGNING.mdrecords that the step is done.Next: #714 (
690-wifi-update) merges main and puts the same pair in the panel'srelease_keys.h. Itstest_release_keys.pychecks that the two lists match.🤖 Generated with Claude Code
https://claude.ai/code/session_01VCgWWsrZ4EvHNNNTAe7RC1